import json

import requests



class Base_Api():
    def __init__(self):
        self.host = 'https://devapi.zhixiaoxin.net/'

    def send(self, kwargs):
        r = requests.request(**kwargs)
        print(json.dumps(r.json(), indent=2,ensure_ascii=False))
        return r


